<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>学员信息</title>
	<link rel="stylesheet" href="./css/list.css">
</head>

<body>
	<table>
		<caption>学员信息</caption>
		<tr>
			<th>姓名</th>
			<th>年龄</th>
			<th>性别</th>
			<th>邮箱地址</th>
			<th>爱好</th>
			<th>所属学院</th>
			<th>入学时间</th>
		</tr>
		{{each studentArr v }}
		<tr>
			<td>{{ v.name }}</td>
			<td>{{ v.age }}</td>
			<td>{{ ['未知', '男', '女'][v.sex] }}</td>
			<td>{{ v.email }}</td>
			<td>{{ v.hobbies.join(', ') }}</td>
			<td>{{ v.collage }}</td>
			<td>{{ dateformat(v.enterDate, 'yyyy-mm-dd') }}</td>
		</tr>
		{{/each}}
	</table>
</body>

</html>